package com.dwd.hrm.client;

import com.dwd.hrm.domain.VipUser;
import com.dwd.hrm.util.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Description: TODO
 * @Author 汶狄
 * @Date 2021/3/16 9:43
 * @Version 1.0
 */
@FeignClient(value = "HRM-AUTH",fallbackFactory = AuthClientFallBackFactory.class)
@RequestMapping("/loginUser")
public interface AuthClient {
    @PostMapping("/save")
     AjaxResult save(@RequestBody VipUser vipUser);
}
